Framework is asking NativeActivity to save its current instance state.
See Java documentation for Activity.onSaveInstanceState() for more
information. The returned pointer needs to be created with malloc();
the framework will call free() on it for you. You also must fill in
outSize with the number of bytes in the allocation. Note that the
saved state will be persisted, so it can not contain any active
entities (pointers to memory, file descriptors, etc).
Framework is asking NativeActivity to save its current instance state. See Java documentation for Activity.onSaveInstanceState() for more information. The returned pointer needs to be created with malloc(); the framework will call free() on it for you. You also must fill in outSize with the number of bytes in the allocation. Note that the saved state will be persisted, so it can not contain any active entities (pointers to memory, file descriptors, etc).